package com.dhcc.sds.standard.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sds.standard.dto.SdsStandDicCompDto;
import com.dhcc.sds.standard.dto.SdsStandStaDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SdsStandDicCompStaMapper extends BaseMapper<SdsStandStaDto> {
    List<SdsStandStaDto> page(@Param("page")Page<SdsStandStaDto> page, @Param("params")Map<String,Object> params);
    List<SdsStandStaDto> selectCountByID(@Param("id")Long id);
    Integer selectDicNumOfMatchesByID(@Param("id")Long id);
    Integer selectFillNumOfMatchesByID(@Param("id")Long id);
    Integer selectRuleNumOfUseByID(@Param("id")Long id);
    Integer selecDicNumByID(@Param("id")Long id);
    List<SdsStandDicCompDto> selectRuleOfUseByID(@Param("page")Page<SdsStandDicCompDto> page, @Param("params")Map<String,Object> params);
    List<SdsStandDicCompDto> selectFillOfMatchesByID(@Param("page")Page<SdsStandDicCompDto> page, @Param("params")Map<String,Object> params);
    List<SdsStandDicCompDto> selectDicOfMatches(@Param("page")Page<SdsStandDicCompDto> page, @Param("params")Map<String,Object> params);
    List<SdsStandDicCompDto> selectDicOfNoMatchesByID(@Param("page")Page<SdsStandDicCompDto> page, @Param("params")Map<String,Object> params);
    List<SdsStandDicCompDto> selectDicOfAllMatchesByID(@Param("page")Page<SdsStandDicCompDto> page, @Param("params")Map<String,Object> params);

}
